package com.hospital.auth.module.exception.enums;

public enum AuthTokenServiceExpCode {
    TOKEN_NOT_EXIST(20001, "Token不存在"),
    TOKEN_NOT_EXIST_ROLE(20002, "Token不存在角色信息"),
    TOKEN_NOT_EXIST_USER_ID(20003, "Token不存在用户ID"),
    PAYLOAD_NOT_EXIST(20004, "Token负载不存在"),
    INVALID_ROLE( 20005, "角色错误" );
    public final Integer code;
    public final String message;
    AuthTokenServiceExpCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
